package com.secxiot.provider.system.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * 医院文化制度
 */
@ApiModel
@Data
@ToString
public class AppRegimeVo implements Serializable {

    private static final long serialVersionUID = 7317797889522625458L;

    @ApiModelProperty(value = "id", required = true)
    private Long id;

    @ApiModelProperty(value = "医院id", required = true)
    private Long hospitalId;

    @ApiModelProperty(value = "标题", required = true)
    private String title;

    @ApiModelProperty(value = "类型 字典00015", required = true)
    private String type;

    @ApiModelProperty(value = "内容", required = true)
    private String content;

    @ApiModelProperty(value = "创建时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "备注")
    private String remark;

}